<div class="reward_property">
  <el-form label-width="80px" :model="formData">
    <div style="margin: 20px 0" />
    <el-form-item label="图标题">
      <el-input v-model="formData.graphRes_title"></el-input>
    </el-form-item>
    <el-form-item v-for="(item,index) in formData.rewardList" :label="'奖励 '+index">
      <el-select v-model="item.reward_name" class="m-2" placeholder="Select" size="large">
        <el-option
          v-for="rewardItem in allReward"
          :key="rewardItem.reward_name"
          :label="rewardItem.reward_name"
          :value="rewardItem.reward_name"
        />
      </el-select>
      <el-input v-model="item.reward_value"></el-input>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="onSubmit">保存</el-button>
    </el-form-item>
  </el-form>
</div>